import requests

username = input('请输入注册用户名：')
password = input('请输入注册密码：')

url='http://localhost:81/Register.cgi'
d = {'username':username,'password':password}
r = requests.post(url,data=d)
print(r.text)


username = input('请输入登录用户名：')
password = input('请输入登录密码：')

url='http://localhost:81/Login.cgi'
d = {'username':username,'password':password}
r = requests.post(url,data=d)
print(r.text)
